package com.thinkit.bigdata.web.dao.sec;

import com.thinkit.bigdata.web.model.config.SysResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lihongli on 2018/9/7
 */
public interface PermissionMapper {

    List<SysResource> selectPermissions(Long roleId);

    Integer deletePermissions(Long roleId);

    Integer insertPermissions(@Param("roleId") Long roleId, @Param("idList") List<Long> idList);

    List<SysResource> selectIndexMenu(@Param("roleIdList") List<Long> roleIdList);
}
